import Vue from '../../../core/index'
import { patch } from './patch'
import { mountComponent } from '../../../core/instance/lifecycle'
//初始化渲染函数patch
console.log("初始化渲染函数patch")
Vue.prototype.__patch__ = patch
//给原型添加了$mount方法
console.log("给原型添加了$mount方法")
Vue.prototype.$mount = function (el, hydrating) {
    return mountComponent(this, el, hydrating)
}
export default Vue